package com.sskj.finance.bean;

import com.sskj.lib.util.NumberUtil;

public class FinanInfoBean {

 /**
  * id : 25
  * name : 短期翻倍宝
  * memo : 哈哈哈哈哈哈哈哈哈哈
  * days : 15
  * num_total : 20000.0000
  * num_min : 100.0000
  * num_hold : 20200.0000
  * expect_rate : 120.0000
  * real_rate : 120.0000
  * addtime : 1559284373
  * starttime : 2019-05-30
  * endtime : 2019-05-30
  * start : 1559318400
  * end : 1560614400
  * status : 2
  * type : 2
  * rate : 100
  */

 private String id;
 private String name;
 private String memo;
 private String days;
 private String num_total;
 private String num_min;
 private String num_hold;
 private String expect_rate;
 private String real_rate;
 private String addtime;
 private String starttime;
 private String endtime;
 private String start;
 private String end;
 private String status;
 private String type;
 private int rate;

 public String getId() {
  return id;
 }

 public void setId(String id) {
  this.id = id;
 }

 public String getName() {
  return name;
 }

 public void setName(String name) {
  this.name = name;
 }

 public String getMemo() {
  return memo;
 }

 public void setMemo(String memo) {
  this.memo = memo;
 }

 public String getDays() {
  return days;
 }

 public void setDays(String days) {
  this.days = days;
 }

 public String getNum_total() {
  return NumberUtil.keepNoZero(num_total);
 }

 public void setNum_total(String num_total) {
  this.num_total = num_total;
 }

 public String getNum_min() {
  return Double.valueOf(num_min).intValue()+"";
 }

 public void setNum_min(String num_min) {
  this.num_min = num_min;
 }

 public String getNum_hold() {
  return num_hold;
 }

 public void setNum_hold(String num_hold) {
  this.num_hold = num_hold;
 }

 public String getExpect_rate() {
  return NumberUtil.keepMax2(expect_rate);
 }

 public void setExpect_rate(String expect_rate) {
  this.expect_rate = expect_rate;
 }

 public String getReal_rate() {
  return NumberUtil.keepMax2(real_rate);
 }

 public void setReal_rate(String real_rate) {
  this.real_rate = real_rate;
 }

 public String getAddtime() {
  return addtime;
 }

 public void setAddtime(String addtime) {
  this.addtime = addtime;
 }

 public String getStarttime() {
  return starttime;
 }

 public void setStarttime(String starttime) {
  this.starttime = starttime;
 }

 public String getEndtime() {
  return endtime;
 }

 public void setEndtime(String endtime) {
  this.endtime = endtime;
 }

 public String getStart() {
  return start;
 }

 public void setStart(String start) {
  this.start = start;
 }

 public String getEnd() {
  return end;
 }

 public void setEnd(String end) {
  this.end = end;
 }

 public String getStatus() {
  return status;
 }

 public void setStatus(String status) {
  this.status = status;
 }

 public String getType() {
  return type;
 }

 public void setType(String type) {
  this.type = type;
 }

 public int getRate() {
  return rate;
 }

 public void setRate(int rate) {
  this.rate = rate;
 }
}
